﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WpfHardCodedStringsFinder.Entities
{
	public class SeachedItem
	{
		public string Value { get; set; }
		public int BeginIndex { get; set; }
		public int EndIndex { get; set; }
		public string FullPath { get; set; }
		public string FailReason { get; set; }
		public Exception FailException { get; set; }

		public string FileName
		{
			get
			{
				if (string.IsNullOrEmpty(FullPath))
					return string.Empty;

				return System.IO.Path.GetFileName(FullPath);
			}
		}

		public string RenameValue { get; set; }
		public bool IsProcess { get; set; }
	}
}
